package com.qf.service;

import com.qf.pojo.Dept;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;
import java.security.PrivateKey;
import java.util.List;


public interface DeptService {

    List<Dept> findAll ();

    boolean delete (int id);

    Dept findOne (int id);

    boolean update (Dept dept);

    Dept addDept (Dept dept);
}
